<template>
  <div>
    <h3>childOne</h3>
    <son-one
      :msg="msg"
      :info="info"
      @show="show"
      @shuaiQi="shuaiQi"
      @click="change"
    ></son-one>
  </div>
</template>

<script>
import SonOne from "@/components/SonOne";
export default {
  data() {
    return {
      msg: "有困的吗？",
      info: "困的往后站",
    };
  },
  methods: {
    show(flag) {
      console.log("满汉全席");
      console.log(flag);
    },
    shuaiQi() {
      console.log("王帅奇");
    },
    change() {
      console.log("hanhan");
    },
  },
  components: { SonOne },
};
</script>

<style lang="scss" scoped>
</style>